home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HyperLib 1997 Winter - Disc 1
/
HYPERLIB-1997-Winter-CD1.ISO.7z
/
HYPERLIB-1997-Winter-CD1.ISO
/
オンラインウェア
/
UTIL
/
Joint 1.02.sit
/
Joint
/
Examples
/
Four-bar linkage
/
Four-bar.Exp
< prev
next >
Wrap
Text File
|
1995-10-25
|
1KB
|
81 lines
#include "colors.inc"
#include "shapes.inc"
#include "textures.inc"
light_source {<-0.5,3,-3> color White} // Grundlichtquelle
camera {
location <1.4,6,-7.6>
direction<0,0,5>
look_at <0.7,0,0>
}
#declare te1=texture{pigment {color Red} finish{phong 1 ambient 0.4}}
#declare te2=texture{pigment {color Blue} finish{phong 1 ambient 0.4}}
#declare te3=texture{pigment {color Yellow} finish{phong 1 ambient 0.4}}
#declare te4=texture{pigment {color rgb <0.9,0,0.9>} finish{phong 1 ambient 0.4}}
#declare rc1=0.04
#declare rc2=0.07
plane{
-y, 0.3
texture{pigment {color White} finish{phong 1 ambient 0.4}}
}cylinder{
<0,0,0>,<1,0,0>,rc1
texture{te1}
}
cylinder{
<0,-0.05,0>,<0,0.225,0>,rc2
texture{te1}
}
cylinder{
<1,0.075,0>,<1,-0.05,0>,rc2
texture{te1}
}cylinder{
<0,0.45,0>,<0.23841,0.45,-0.76365>,rc1
texture{te2}
}
cylinder{
<0,0.5,0>,<0,0.225,0>,rc2
texture{te2}
}
cylinder{
<0.23841,0.5,-0.76365>,<0.23841,0.375,-0.76365>,rc2
texture{te2}
}cylinder{
<0.23841,0.3,-0.76365>,<1.121,0.3,-0.58766>,rc1
texture{te3}
}
cylinder{
<0.23841,0.375,-0.76365>,<0.23841,0.25,-0.76365>,rc2
texture{te3}
}
cylinder{
<1.121,0.35,-0.58766>,<1.121,0.225,-0.58766>,rc2
texture{te3}
}cylinder{
<1.121,0.15,-0.58766>,<1,0.15,0>,rc1
texture{te4}
}
cylinder{
<1.121,0.225,-0.58766>,<1.121,0.1,-0.58766>,rc2
texture{te4}
}
cylinder{
<1,0.2,0>,<1,0.075,0>,rc2
texture{te4}
}